.ant-table-wrapper {
  overflow: hidden;
  .ant-spin-nested-loading {
    height: 100%;
    .ant-spin-container {
      display: grid;
      grid-template-rows: 1fr auto;
      overflow: hidden;
      height: fit-content;
      max-height: 100%;
      .ant-table {
        overflow: hidden;
        .ant-table-container {
          height: 100%;
          display: flex;
          flex-direction: column;
          .ant-table-content {
            height: 100%;
            position: relative;
            display: flex;
            flex-direction: column;
            overflow: auto;
            > table {
              > thead {
                position: sticky;
                top: 0;
                z-index: 22;
              }
            }
          }
        }
      }
    }
  }
}
